import { createPinia } from 'pinia'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import piniaPluginPersist from 'pinia-plugin-persist'

// 公共样式
import './assets/css/base.css'

import "./assets/font/iconfont.css"
// 引入字体
import './assets/font-family/font-family.css'
import "./assets/font_coo/iconfont.css"


// import { Button,Swipe, SwipeItem,Sticky,Tab,Tabs,Popup,Collapse, CollapseItem,Rate,Switch, Toast } from 'vant';


import { Button,List,Swipe,ImagePreview,ActionSheet,Lazyload,Loading,ContactCard,Cell,Area, SwipeItem,Sticky,Tab,Tabs,Popup,Collapse, CollapseItem,Rate,Switch,Toast ,ConfigProvider,Uploader } from 'vant';

let pinia = createPinia();
pinia.use(piniaPluginPersist)

createApp(App).use(pinia).use(List).use(ImagePreview).use(router).use(Lazyload).use(Loading).use(Cell).use(Area).use(ContactCard).use(ActionSheet).use(Tab).use(Tabs).use(Button).use(Rate).use(Swipe).use(ConfigProvider).use(Switch).use(SwipeItem).use(Sticky).use(Popup).use(Collapse).use(CollapseItem).use(Uploader).use(Toast).mount('#app')
